﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Collections;
namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            ////Stream st = File.Open(@"C:\Users\Serhat\Desktop\f.txt", FileMode.Open);
            //StreamReader reader = new StreamReader(st);
            //StreamWriter writer = new StreamWriter(st);
            //FileStream fs = new FileStream(@"C:\Users\Serhat\Desktop\f.txt", FileMode.Open);
            //for (int i = 0; i < 4; i++)
            //{
            //   char c = ' ';
            //   while (c != '\n')
            //   {
            //       c = (char) fs.ReadByte();
            //   }
                
            //}
            //byte[] str = StrToByteArray("Asdasdasdasdasdasdasdasdasd\n");
               
            //byte[] a = {(byte)'c'};
            //byte b = (byte)'\n' ;
            //int pos = (int)fs.Position;
            //fs.Write(str, 0, str.Length);
            //fs.Close();

            LinkedList<int> list = new LinkedList<int>();
            int a = list.Count;
            Console.WriteLine(a);
            ArrayList al = new ArrayList();
            List<int> l = new List<int>();
            
        }
        public static byte[] StrToByteArray(string str)
        {
            System.Text.UTF8Encoding encoding = new System.Text.UTF8Encoding();
            return encoding.GetBytes(str);
        }
    }
}
